package day02;

import java.util.Scanner;

public class ScannerDemo03 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入整数1：");
        int i = sc.nextInt();
        System.out.println("请输入整数2：");
        int j = sc.nextInt();
        int sum = i + j;
        Boolean res = i % 6 == 0 || sum % 6 == 0;
        System.out.println(res);
    }
}
